home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 554 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2. Date: Mon, 18 Oct 93 11:05:36 +0100
  3. Message-Id: <9310181005.AA08720@issan.informatik.uni-dortmund.de>
  4. To: lynbech@daimi.aau.dk
  5. In-Reply-To: <199310180729.AA10724@platanus> (message from Christian Lynbech on Mon, 18 Oct 1993 08:29:28 +0100)
  6. Subject: Re: Those dreaded ^M
  7.  
  8. >>>>> Christian Lynbech writes:
  9.  
  10. |> I'm getting increasingly annoyed with the fact that MiNT keeps
  11. |> putting ^M into my files. It is ok that distributions such as MiNT
  12. |> itself is in the standard atari format, [...]
  13.  
  14. It's not MiNT that puts in these ^M but the (GNU/MiNT) library. You
  15. should include 'b' in the UNIXMODE environment variable. Then the
  16. library implicitly assumes all fopen()'s are in binary mode unless
  17. explicitly overridden. It's easiest to put a line like this in
  18. mint.cnf:
  19.  
  20. setenv UNIXMODE /brU
  21.  
  22. This means:
  23. - / is converted to \ in filenames
  24. - fopen()'s are binary by default
  25. - the root device is U:, e.g /etc/termcap is converted to
  26. U:\etc\termcap
  27.  
  28. Btw. the standard atari format *is* CRLF.
  29.  
  30. ----------------------------------------------------------------------
  31. Andreas Schwab                                  "And now for something
  32. schwab@ls5.informatik.uni-dortmund.de            completely different"
  33.